导航菜单
首页 >  Nuxt on Vercel  > How to Deploy a Vue.js Site with Vercel

How to Deploy a Vue.js Site with Vercel

This guide will show you how to deploy a Vue.js site and get your domain set up.

Vue.js is an open-source JavaScript framework for building user interfaces. There are multiple ways to build a Vue.js site, including:

NuxtVue CLIViteGridsomeSaberDeploy Vue to Vercel

Vercel is a platform for deploying the fastest Vue sites. You can deploy your site with zero configuration to the best frontend infrastructure.

Develop: Build Vue sites that connect to your favorite APIs, databases, and content management systems.Preview: Integrate with any GitHub, GitLab, or Bitbucket repository for instant continuous deployment.Ship: Deploy your site to every edge node worldwide for the fastest Vue sites. Static files, Serverless and Edge Functions, and more.Monitor: Measure Core Web Vitals from actual devices your visitors are using with Vercel Analytics for Nuxt.Built-in CI/CD for Vue sites

Vercel has integrations for GitHub, GitLab, and Bitbucket to enable CI/CD for your Vue site with zero configuration. Then, you can run automated tests for performance and reliability on every push. Pull and merge requests are deployed instantly to a unique URL, accessible to your entire team.

Add your custom domain

After deploying, your new Vue site will automatically be assigned a .vercel.app suffixed domain. You can then add a Custom Domain on your choice, either from a third-party or purchased through Vercel.

Deploy Vue to VercelStart from a templateNuxtVue CLIViteGridsomeSaberVercel CLIInstall the Vercel CLI and run vercel to deploy.Vercel will detect that you are using Vue and will enable the correct settings for your deployment.Your application is deployed! (e.g. vite-vue-template.vercel.app)Vercel for GitPush your code to your git repository (GitHub, GitLab, BitBucket).Import your Vue project into Vercel.Vercel will detect that you are using Vue and will enable the correct settings for your deployment.Your application is deployed! (e.g. vite-vue-template.vercel.app)

相关推荐: